package com.tools.repository;

import com.tools.model.entity.ResultEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ResultRepository extends JpaRepository<ResultEntity, Long>, JpaSpecificationExecutor<ResultEntity> {
    List<ResultEntity> findAllByTaskUserIdOrderByCreateTime(String userTaskId);
}
